package com.nwcl.ysx.request;

import com.nwcl.common.request.BaseRequest;
import com.nwcl.common.result.Result;

/**
 * @author liguiqin
 * @date 2023/5/26
 */
public class CancelSubscribeRequest implements BaseRequest {
    private Integer id;//预约id
    private String remark;//备注

    @Override
    public Result check() {
        if (id == null) {
            return Result.fail("预约id不能为空");
        }
        return null;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
